package com.example.blog.dto.writing;


import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
public class ArticleLikeDto {
    @NotBlank(message = "不能为空")
    private String wid; //文章编号
    @NotNull(message = "不能为空")
    @Min(message = "参数错误!", value = 1L)
    private long uid; //作者编号
}
